package com.wk1un2.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wk1un2.entity.ShoppingCart;

public interface ShoppingCartMapper {
	public List<Map<String, Object>> getAll(@Param("page") int page, @Param("limit") int limit,
			@Param("u_id") Integer u_id, @Param("ids") List<String> sc_id);

	public Integer count();

	public Integer add(Map<String, Object> map);

	public Integer update(Map<String, Object> map);

	public Integer delete(Map<String, Object> map);

	public Integer deleteshop(@Param("ids") List<String> sc_id);

}
